package com.ruoyi.health.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务类型(项目)管理对象 service_type
 * 
 * @author dalian
 * @date 2023-08-06
 */
public class ServiceType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 便民服务id */
    private Long id;

    /** 便民服务类型 */
    @Excel(name = "便民服务类型")
    private String name;

    /** 服务项目信息 */
    private List<ServiceItem> serviceItemList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public List<ServiceItem> getServiceItemList()
    {
        return serviceItemList;
    }

    public void setServiceItemList(List<ServiceItem> serviceItemList)
    {
        this.serviceItemList = serviceItemList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("serviceItemList", getServiceItemList())
            .toString();
    }
}
